ifneq ($(KERNELRELEASE),)
	obj-m := bih.o
	bih-objs := fanyi.o fanyi_module.o voslist.o pool.o map.o
else
	PWD := $(shell pwd)
	KVR ?= $(shell uname -r)
	KDIR := $(shell echo /lib/modules/`uname -r`/build)

all:
	$(MAKE) -C $(KDIR) M=$(PWD)
clean:
	rm -rf *.ko .*.cmd *.o *.mod.c .tmp_versions  Module.markers  modules.order  Module.symvers
endif


